package com.xuelang.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * <p>RedisAction配置类，避免使用敏感命令（CONFIG）</p>
 *
 * @author : yixin.lys
 * @date : 2024-06-18 16:05
 **/
@Configuration
@EnableRedisHttpSession
public class RedisAction {

    @Bean
    public org.springframework.session.data.redis.config.ConfigureRedisAction configureRedisAction() {
        return org.springframework.session.data.redis.config.ConfigureRedisAction.NO_OP;
    }

}
